import { $freePost } from '@js/request'
import { SMSCode } from '@js/config';

export async function sendSMSRequest (mobile: string): Promise<void> {
  const res = await $freePost('/api/common/sms', {
    mobile,
    template_code: SMSCode
  })
  return res.data
}
